import React, { useEffect } from 'react'
import style from './child.module.scss'
import axios from 'axios'
export default function child() {
useEffect(()=>{
  axios.get().then(res=>{
    console.log(res)
  })
},[])
console.log(style)
  return (
    <div>child
        <ul className={style.childUl}>
            <li>item1</li>
            <li>item2</li>
        </ul>
    </div>
  )
}
